﻿struct Particle                 
{
    float3 position;
    float3 velocity;
}
;

RWStructuredBuffer<Particle> particles;

[numthreads(1, 1, 1)]                
void Integrate(uint3 threadID : SV_DispatchThreadID)                
{
    particles[threadID.x].position += particles[threadID.x].velocity;
}

